The Available Commands

The Available Commands

The Plugin installs a builtin Module "scribus". Thus to use the extensions to the Python language you must do a "import scribus" or "from scribus import *".

Scripter provides functions to control scribus and to manipulate objects on the canvas. Each function is documented individually below. A few things are common across most of the interface. Most functions operate on frames. Frames are identified by their name, a string - they are not real Python objects. Many functions take an optional (non-keyword) parameter, a frame name. Many exceptions are also common across most functions. These are not currently documented in the docstring for each function.

Details of what exceptions each function may throw are provided on the function's documentation.

Conventions used in this Document:

number
means that "number" is an ordinary Interger or Floating Point Number.
"name"
means that "name" is a String Literal or Variable.
list
means that "list" is a Python List.

Variables in angled Brackets are optional.

Exceptions

exceptions.Exception
ScribusException
NameExistsError
NoDocOpenError
NoValidObjectError
NotFoundError
WrongFrameTypeError

NameExistsError

class NameExistsError(ScribusException)
Method resolution order:
NameExistsError
ScribusException
exceptions.Exception
Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

NoDocOpenError

class NoDocOpenError(ScribusException)
Method resolution order:
NoDocOpenError
ScribusException
exceptions.Exception
Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

NoValidObjectError

class NoValidObjectError(ScribusException)
Method resolution order:
NoValidObjectError
ScribusException
exceptions.Exception
Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

NotFoundError

class NotFoundError(ScribusException)
Method resolution order:
NotFoundError
ScribusException
exceptions.Exception
Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

ScribusException

class ScribusException(exceptions.Exception) Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

WrongFrameTypeError

class WrongFrameTypeError(ScribusException)
Method resolution order:
WrongFrameTypeError
ScribusException
exceptions.Exception
Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)